<?php
namespace Api\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        Vendor('Wxpay.Weixinpay');
        $wxpay = new \Weixinpay();
        $order = $wxpay->unifiedOrder();
        echo '<pre>';
        print_r($order);
        exit();
    }
}